import { _decorator, Component, Node } from 'cc';
import { Person } from './Person';
const { ccclass, property } = _decorator;

@ccclass('AniEvent')
export class AniEvent extends Component {
    EatEnd() {
        this.node.parent.parent.parent.getComponent(Person).EatEnd();
    }
}